import Vue from 'vue'
import App from './App.vue'
import router from './router';
import 'lib-flexible' //适配
import Vant from 'vant'; //引入vant
import 'vant/lib/index.css';
import '../src/api'; //为了接口测试
// ui组件库
import ElementUI from 'element-ui'
// ui组件库样式
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);


import store from './store';

Vue.config.productionTip = false;

Vue.use(Vant);

new Vue({
	el: '#app',
	beforeCreate() {
		Vue.prototype.$bus = this;
	},
	render: (h) => h(App),
	router,
	store,
});